//***********************************************************************
//*                                                                     *
//*   Copyright (c) 1985-2019, American Megatrends International LLC.   *
//*                                                                     *
//*      All rights reserved. Subject to AMI licensing agreement.       *
//*                                                                     *
//***********************************************************************
#ifndef __OEM_PEI_LIB__H__
#define __OEM_PEI_LIB__H__
#ifdef __cplusplus
extern "C" {
#endif

EFI_STATUS ComsWrite(UINT8 Address,UINT8 Data);
EFI_STATUS ComsRead(UINT8 Address);

typedef struct {
    EFI_STATUS (*OemComsWrite)(UINT8 Address,UINT8 Data);
    EFI_STATUS (*OemComsRead)(UINT8 Address) ;
} OEM_CMOS_PPI;

OEM_CMOS_PPI OemPeiPpi ={
        ComsWrite,
        ComsRead
};
/****** DO NOT WRITE BELOW THIS LINE *******/
#ifdef __cplusplus
}
#endif
#endif
